package com.xlhj.boot.common;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author: liucaijing
 * @description: ResultEnum
 * @date: 2021/6/14 7:42
 */
@Getter
@AllArgsConstructor
public enum ResultEnum {

    SUCCESS(200, "成功"),
    FAIL(400, "失败");

    /**
     * 状态码
     */
    private Integer code;

    /**
     * 状态信息
     */
    private String message;
}
